package com.situ.ssm.user.service;
import com.situ.ssm.user.pojo.User;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Project :springssm
 * @Author : yun&bo
 * @Date 2020/12/17 11:15
 * @Version
 */
public interface UserService {
    /**
     *
     * @param multipartFile
     * @param realPath
     * @return 上传文件的相对路径
     */
    String doUploadAvatar(MultipartFile multipartFile , String realPath);
    int doAddUSer(User user, String createBy );

    User userLogin(String userCode,String userPass);

}
